package com.rpay.common.util.http.listener;

/**
 * @date： 2017/10/9
 * @desc：
 */
public class EventSource {
    /**
     * 主机
     */
    private String host;

    /**
     * 端口
     */
    private String port;

    /**
     * 地址
     */
    private String path;


    @SuppressWarnings("unused")
    private EventSource() {
    }

    public EventSource(String host) {
        this.host = host;
    }

    public EventSource(String host, String port) {
        this.host = host;
        this.port = port;
    }

    public EventSource(String host, String port, String path) {
        this.host = host;
        this.port = port;
        this.path = path;
    }

    public String getHost() {
        return host;
    }

    public String getPort() {
        return port;
    }


    public String getPath() {
        return path;
    }
}
